# -*- encoding: utf-8 -*-
from models import Group, Country, Genre
from django.contrib import admin

from multilingual.admin import MultilingualModelAdmin

class GroupAdmin(MultilingualModelAdmin):
    search_fields = ['name']

    class Media:
        js = (
            "/medias/admin/tinymce/jscripts/tiny_mce/tiny_mce.js",
            "/medias/js/tiny_conf.js",
            )
admin.site.register(Country, MultilingualModelAdmin)
admin.site.register(Genre, MultilingualModelAdmin)
admin.site.register(Group, GroupAdmin)
